Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update waypoint install #99

Merged
merged 5 commits into from
Jan 10, 2025
Merged

Conversation

hzxuzhonghu
Copy link
Member

@hzxuzhonghu hzxuzhonghu commented Dec 23, 2024

Kmesh waypoint subcommand is added after v0.5

Signed-off-by: Zhonghu Xu <[email protected]>
Copy link

netlify bot commented Dec 23, 2024

Deploy Preview for kmesh-net ready!

Name Link
🔨 Latest commit bfd07c8
🔍 Latest deploy log https://app.netlify.com/sites/kmesh-net/deploys/677fc07dfef75a00085cff40
😎 Deploy Preview https://deploy-preview-99--kmesh-net.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Signed-off-by: Zhonghu Xu <[email protected]>
@hzxuzhonghu
Copy link
Member Author

/assign @YaoZengzeng

@@ -11,7 +11,7 @@ type: docs

---

To try capabilities of Kmesh L7, this is the basic doc to install waypoint.
If you want to make use of kmesh L7 features, this is the prerequisites to install waypoint.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If you want to make use of kmesh L7 features, this is the prerequisites to install waypoint.
If you want to make use of Kmesh L7 features, this is the prerequisites to install waypoint.


***NOTE: There are breaking changes in waypoint capture mode between istio 1.22 and istio 1.21, so the following commands need to be run on at least istio 1.22.***
Deploy a waypoint `reviews-svc-waypoint` for service `reviews`, so any traffic to `reviews` from a client managed by kmesh will be mediated by the waypoint proxy
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Deploy a waypoint `reviews-svc-waypoint` for service `reviews`, so any traffic to `reviews` from a client managed by kmesh will be mediated by the waypoint proxy
Deploy a waypoint `reviews-svc-waypoint` for service `reviews`, so any traffic to `reviews` from a client managed by Kmesh will be mediated by the waypoint proxy


#### Install waypoint in service granularity:
To enable a namespace, service or Pod to use a waypoint, add the `istio.io/use-waypoint` label with a value of the waypoint name.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
To enable a namespace, service or Pod to use a waypoint, add the `istio.io/use-waypoint` label with a value of the waypoint name.
To enable a namespace, service or pod to use a waypoint, add the `istio.io/use-waypoint` label with a value of the waypoint name.


***NOTE: Also need to replace the original image of waypoint with the Kmesh customized image.***
Deploy a waypoint for the `default` with default name `waypoint`. By specifying `--enroll-namespace`, the namespace will be labeled with `istio.io/use-waypoint=waypoint`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Deploy a waypoint for the `default` with default name `waypoint`. By specifying `--enroll-namespace`, the namespace will be labeled with `istio.io/use-waypoint=waypoint`
Deploy a waypoint for the `default` namespace with default name `waypoint`. By specifying `--enroll-namespace`, the namespace will be labeled with `istio.io/use-waypoint=waypoint`

pod/reviews-v2-5b667bcbf8-spnnh labeled
```

***NOTE: Also need to replace the original image of waypoint with the Kmesh customized image.***
***NOTE: If you need to replace the original image of waypoint with the Kmesh customized image.***
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No more image replacement operations are required.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nope, currently if user build kmeshctl locally, it could generate yaml with :vv0.0.0-master image

Signed-off-by: Zhonghu Xu <[email protected]>
@hzxuzhonghu
Copy link
Member Author

/assign @nlgwcy

@YaoZengzeng
Copy link
Member

/lgtm

@kmesh-bot kmesh-bot added the lgtm label Jan 6, 2025
@YaoZengzeng
Copy link
Member

/approve

Signed-off-by: Zhonghu Xu <[email protected]>
Signed-off-by: Zhonghu Xu <[email protected]>
@hzxuzhonghu
Copy link
Member Author

/assign @LiZhenCheng9527

@LiZhenCheng9527
Copy link
Contributor

/approve

@kmesh-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: LiZhenCheng9527, YaoZengzeng

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@LiZhenCheng9527
Copy link
Contributor

/lgtm

@kmesh-bot kmesh-bot added the lgtm label Jan 10, 2025
@kmesh-bot kmesh-bot merged commit 81e68c8 into kmesh-net:main Jan 10, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants